﻿<style type="text/css">
	.qiyeliebiao .Speed{height: 6px;background: #666;width: 70%;border-radius: 4px;overflow: hidden;argin-top: 6px;}
    .tooltip_class{width:220px;text-align:left;}
	.train_liebioao_header_left .headdiv{z-index: 2; height: 32px;line-height: 30px;
		display: block;
		color: #807a62;
		cursor: pointer;
		font-style: normal;
		padding-left: 4px;
		border: 1px solid #333333;
		no-repeat right center;}
		.train_liebioao_header_left .headdiv a {display: block;
			height: 30px;
			color: #333333;
			text-decoration: none;
			padding-left: 10px;
			padding-right: 10px;}
			.train_liebioao_header_left .headdiv a:hover{background-color: #ccc;}
.qiyeliebiao_kecehngshu{ text-align: center!important; overflow: hidden; max-height: 50px; width: 170px!important;}
.qiyeliebiao .Speed{  width: 100% }
.qiyeliebiao_zhuceren{ text-align: center; }
		</style>
<div class="traintask" ng-controller="papermanagercontroller">
    <div class="train_liebioao_header">
        <div class="train_liebioao_header_left">
            <div>
                筛选条件:</div>
            <div ng-click="clickFunSHow()" class="headdiv">
                <div>
                    <span  ng-model="screenobj">{{screenobj.name}}</span>
                    <span class="caret"></span>
                    <ul ng-show="cite" style="background-color: #fff; width: 100%;">
                        <li ng-repeat="list in screenlist" ng-click="screenFun(list)"><a>{{list.name}}</a></li>
                    </ul>					
                </div>
            </div>
            <div ng-show="screentimeshow" class="train_liebioao_header_left_lrtimesx">
                <a>录入时间筛选：</a>
                <input id="startTime" class="communicationczcxnr" placeholder="开始日期" onclick="var endTime=$dp.$('endTime');wdatepicker({onpicked:function(){endTime.click();},maxDate:'#F{$dp.$D(\'endTime\')}'})"
                    ng-focus="GetTime()" >
                <span>-</span>
                <input class="communicationczcxnr" id="endTime" placeholder="截止日期" value="" onclick="wdatepicker({minDate:'#F{$dp.$D(\'startTime\')}'})"
                    style="width: 80px; height: 27px;" ng-focus="GetTime()">
            </div>
            <div ng-show="!screentimeshow">
                <input type="text" ng-click="screenFun()" ng-model="searchText" placeholder="请输入{{screenname}},支持模糊查询" style="width: 200px;"></div>
            <div ng-show="buttonshow" ng-click="ButtonGet()">
                <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-sousuo"></use></svg>
                确认筛选</div>
        </div>
        <div class="train_liebioao_header_right">
            <div ng-click="isHideFun(0)" class="train_liebiao_Add"  btncon="btnAdd" btn-obj="btnlist"    fun="1" >
                <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                <span>新增试卷</span></div>
            <div ng-click="isHideFun(1)" class="train_liebiao_Add"  btncon="btnUpd" btn-obj="btnlist"  fun="1">
                <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-bi-copy"></use></svg>
                <span>编辑试卷</span></div>
            <div  ng-click="Del('')" class="train_liebiao_delect"   btncon="btnDel" btn-obj="btnlist"  fun="1">
                <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-shanchu"></use></svg>
                删除</div>
        </div>
    </div>
    <div class="traintask_main">
        <loading isloading="isloading"></loading>
        <div class="traintask_main_liebiao">
            <table class="tab">
                <thead><tr>
                    <td><div class="traintask_main_liebiao_checkbox">
                            <div class="liebiaocheck-box" ng-click="selectAll()" ng-class="{selected:select_all}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont">&#xe67a;</span>
                            </div>
                            <div class="traintask_main_liebiaoli_xiugai" ng-if="false">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-xiugai"></use></svg>
                            </div>
                        </div></td>
                    <td  style="width:19.5%;" >试卷名称</td>
                    <td>试卷类型</td>
                    <td>创建时间</td>
                    <td>考试通过率</td>
                    <td>试卷分类</td>
                    <td style="width:8%;">题目数量</td>
                    <td style="width:8%;">考试难度</td>
                    <td ng-mouseleave="ShowOk=false">
                        <div style=" position: relative;padding: 4px 0;font-size: 13px;-webkit-align-self: center;text-align: left;color: #39f;"  >
                                    <div ng-mouseover="ShowOk=true" tooltips tooltip-template="再次选择相同的筛选类型将进行升序/降序操作">

                                        <i  ng-if="orderby=='asc'" class="iconfont">&#xec4f;</i>
                                        <i  ng-if="orderby=='desc'" class="iconfont">&#xe6b1;</i>
                                        {{OrderName}}
                                        <ul ng-mouseleave="ShowOk=false" ng-show="ShowOk" style="z-index: 11; right: 0; top: 30px; width: 130px; left: 0; box-shadow: 1px 0px 15px #ccc; border: 0;" class="dropdown-menu">
                                            <li ng-repeat="order in orderlist" ng-click="OrderByFun(order.num,order.name)">
                                                {{order.name}}
                                            </li>
                                        </ul>
                                    </div>


                                </div>
                    </td>
                </tr></thead>
                <tbody>
                    <tr ng-if="List.length <=0 && !examLoading"> <!--空值-->
                        <td colspan="9">
                            <center style="margin:100px auto;">
                                <img src="/images/null/null.png" />
                                <div style="font-size:30px;color:#a3a3a3;"  ng-bind="'Null' | T"></div>
                            </center>
                            <center isloading="examLoading" ng-if="examLoading">
                                <img src="/images/examnull.gif" />
                            </center>
                        </td>
                    </tr>
                    <tr ng-if="examLoading">
                        <td colspan="9">
                             <!--Loading-->
                             <loading isloading="examLoading" ></loading>
                        </td>
                    </tr>


                    <!--正文-->
                    <!--遍历开始-->
                    <tr  ng-repeat="paperlist in List" ng-class="{selected:containsList(selectList,paperlist)>=0}" ng-if="!examLoading">
                        <td><div class="traintask_main_liebiao_checkbox">
                            <div class="liebiaocheck-box" ng-click="setCheck(paperlist,$event)" ng-class="{selected:containsList(selectList,paperlist)>=0}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont">&#xe67a;</span>
                            </div>
                            <div class="traintask_main_liebiaoli_xiugai" ng-click="addinfo(paperlist)">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-bianji"></use></svg>
                            </div>
                        </div></td>
                        <td  ng-style="TitleStyle(paperlist)"   ng-bind="paperlist.paperName" ng-click="Editquestion(paperlist)">
                            试卷名称
                        </td> <!--试卷名称-->
                        <td><div ng-if="paperlist.paper_Random==1" >固定试卷</div><div ng-if="paperlist.paper_Random==0">随机试卷</div></td>
                        <td><div class="traintask_main_liebiao_pxkstime_sj" ng-bind="paperlist.create_Date | to_time">
                                00:00</div>
                            <div class="traintask_main_liebiao_pxkstime_data" ng-bind="paperlist.create_Date | to_date">
                                0000-00-00</div></td>
                        <td><div ng-bind=" (paperlist.paperRemark>0? paperlist.paperRemark :0)+'/'+ (paperlist.examCount?paperlist.examCount:0) +'人'">
                                0/0人</div>
                            <div class="progress knowledge_shangchuanjindu_yulan">
                                <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0"
                                    aria-valuemax="100" ng-style="progressbarstyle(paperlist.paperRemark,paperlist.examCount)">
                                </div>
                            </div></td>
                        <td>{{paperlist.knowledge_Name}}</td>
                        <td>{{paperlist.question_Count}}题</td>
                        <td>{{bindpaperDifficulty(paperlist.paperDifficulty)}}</td>
                        <td style="text-align: center;">
                        <div ng-mousemove="trainObj.isToolShow=true" ng-mouseleave="trainObj.isToolShow = false" style="position: relative;">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-ttpodicon1"></use></svg>
                                <ul class="dropdown-menu" ng-if="trainObj.isToolShow" style="position: absolute;top: 10px;z-index: 999;">
                                    <li ng-click="addinfo(paperlist)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-bianji"></use></svg>
                                        编辑试卷</li>
                                    <li ng-click="Editquestion(paperlist)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>
                                        查看详细</li>
								<li ng-if="paperlist.paper_Random!=0" ng-click="bukao(paperlist)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>
                                        补考</li>
                                  <li ng-if="!paperlist.url" ng-click="examNull()"><a style="text-decoration: none" target="_blank"><svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-yulan1"></use>
                                            </svg>
                                    试卷预览</a></li>
                                    <li><a style="text-decoration: none" target="_blank" href="/system/views/examination/photolist.html?pid={{paperlist.paperId}}"><svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-yulan1"></use>
                                            </svg>
                                    查看拍照</a></li>
                                        <li ng-if="paperlist.url.length > 0"><a style="text-decoration: none" target="_blank" ng-href="{{fileurl+paperlist.url+urlexamlopen+'&token='+examToken+'&d='+paperlist.upd_Date}}">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-yulan1"></use>
                                            </svg>
                                    试卷预览</a></li>
                                <li  ng-click="openresultstatic(paperlist)">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>
                                    查看成绩</li>
                                <li  ng-click="openErrorQuestion(paperlist)">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>
                                    错题统计</li>
                                 <li  ng-click="showDetail(paperlist)" ng-if="false">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>  
                                    学员报表</li>
                                    
                                    <li ng-click="exportExcel(paperlist)">
                                              <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tongjibaobiao"></use>
                                            </svg> 导出成绩</li>
                                    <li no-click="Delete" mnt="Del(paperlist)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shanchu"></use></svg>
                                        删除试卷</li>
                                       
                                    <li  ng-if="paperlist.paperCount>0&&paperlist.url.length >0"><a style="text-decoration: none" target="_blank" ng-href="{{fileurl+'/resources/exam/'+paperlist.paperId+','+paperlist.paperCount+'/2-2.html'}}">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>
                                    打印试卷</a></li>
                                    <li ng-if="(paperlist.paperCount<=0||paperlist.paperCount==undefinde)&&paperlist.url.length >0"><a style="text-decoration: none" target="_blank" ng-href="{{fileurl+'/resources/exam/'+paperlist.paperId+'/2-2.html'}}">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>
                                    打印试卷</a></li>
                                     <li ng-if="paperlist.paperCount>0&&paperlist.url.length >0"><a style="text-decoration: none" target="_blank" ng-href="{{fileurl+'/resources/exam/'+paperlist.paperId+','+paperlist.paperCount+'/3-3.html'}}">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>
                                    打印答案</a></li>
                                         <li  ng-if="(paperlist.paperCount<=0||paperlist.paperCount==undefinde)&&paperlist.url.length >0"><a style="text-decoration: none" target="_blank" ng-href="{{fileurl+'/resources/exam/'+paperlist.paperId+'/3-3.html'}}">
                                    <svg class="icon" aria-hidden="true">
                                                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-jilu"></use>
                                            </svg>
                                    打印答案</a></li>

                                <!--                                           
                                            查看成绩，导出成绩，打印试卷，打印答案，删除
                                            -->

                                </ul>
                            </div></td>
                    </tr>
                </tbody>
            </table>
  
            <tm-pagination ng-show="List.length>0" conf="paginationConf"></tm-pagination>
            <knowledge-selector know-config="knowConfig" on-callback="onCallbackSer(knowConfig)"
                ng-if="knowConfig.isShow"></knowledge-selector>
        </div>
    </div>
    <!--新增编辑-->
    <div class="knowledgexjwjylbodymain" ng-if="windowsClose">
        <div class="knowledgexjwjylbodymainbj">
        </div>
        <div class="knowledgemainview">
            <div class="knowledge_structure_adddy">
                <div class="knowledge_structure_addr">
                    <div class="knowledge_structure_add" style="z-index:inherit;">
                        <div class="knowledge_structure_add_title">
                            <div class="knowledge_structure_add_titlel ">
                                试卷属性</div>
                            <div class="knowledge_structure_add_titlezwf">
                            </div>
                            <div class="knowledge_structure_add_titler">
                                <div class="close" ng-click="isHideFun()">
                                    <span>+</span>
                                </div>
                            </div>
                        </div>
                        <div class="knowledge_structure_add_main">
                            <div class="knowledge_structure_add_column">
                                <ul class="knowledge_structure_add_jdsz">
                                    <li>
                                        <div class="knowledge_structure_add_jdszr">
                                            <input type="text" placeholder="试卷名称" ng-model="paperObj.paperName" style="border: 1px solid #ddd;
                                                width: 66%; padding-right: 0px; padding-left: 5px;">
                                            <div style="line-height: 34px; padding-left: 5px;">
                                                <span>难度 </span>
                                                <select ng-model="paperObj.paperDifficulty" class="xiaoge">
                                                    <option ng-repeat="item in paperDifficultylist" value="{{item.num}}">{{item.name}}</option>
                                                </select>
                                            </div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="knowledge_structure_add_jdszl">
                                            <label>
                                                <i class="iconfont">&#xe73f;</i>试卷类型</label></div>
                                        <div  style="margin-top: 4px;">
                                            <input type="radio" ng-value="1" checked="checked" ng-model="paperObj.paper_Random"
                                                name="selectState" ng-disabled="paperObj.paperId!=null&&paperObj.paperId!=''&&paperObj.paperId!=undefined">固定试卷
                                            <input type="radio" ng-value="0" ng-model="paperObj.paper_Random" name="selectState" ng-disabled="paperObj.paperId!=null&&paperObj.paperId!=''&&paperObj.paperId!=undefined">随机试卷
                                        </div>
                                    </li>
                                    <!-- 固定试卷的题库来源 -->
                                    <li ng-show="paperObj.paper_Random !=0 && !(paperObj.paperId!=null&&paperObj.paperId!=''&&paperObj.paperId!=undefined)">
                                        <div class="knowledge_structure_add_jdszl">
                                            <label>
                                                <i class="iconfont">&#xe761;</i>题目来源</label></div>
                                        <div   style="margin-top: 4px;">
                                            <input type="radio" ng-value="true" ng-model="knowConfigQuestions.newQuestionsShow" name="selectNewQuestionsMode">录入新题
                                            <input type="radio" ng-value="false" ng-model="knowConfigQuestions.newQuestionsShow" name="selectNewQuestionsMode">题库选题{{newQuestionsShow}}
                                        </div>
                                    </li>
                                    <li ng-if="paperObj.paper_Random==0">
                                        <div class="knowledge_structure_add_jdszl">
                                            <label>
                                                <i class="iconfont">&#xe762;</i>组卷规则</label>
                                        </div>
                                        <div class="knowledge_structure_add_sxr">
                                        </div>
                                        <div style="width: 100%">
                                            <span ng-click="addQuelist()" style="float: right; color: #39f">
                                                <svg class="icon">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                                                增加题目</span></div>
                                    </li>
                                </ul>
                                <ul ng-if="paperObj.paper_Random==0" class="knowledge_structure_add_jdsz">
                                    <li ng-repeat="QueListitem in paperObj.Rule track by $index">
                                        <div ng-click="knowConfigQueOpen(QueListitem,$index)" style="width: 110px; overflow: hidden;
                                            text-overflow: ellipsis; cursor: pointer;">
                                            <input style="border: 0px;" type="text" readonly="readonly" ng-model="QueListitem.knowledge_Name"
                                                class="xiaoge" style="cursor: pointer;" value="选择章节">
                                        </div>
                                        <select ng-change="GetQueCount(QueListitem)" ng-model="QueListitem.questions_Type"
                                            class="xiaoge">
                                            <option ng-repeat="item in questions_Typelist " value="{{item.num}}">{{item.name}}</option>
                                        </select>
                                        <select ng-change="GetQueCount(QueListitem)" ng-model="QueListitem.paperDifficulty"
                                            class="xiaoge">
                                            <option value="0">全部</option>
                                            <option ng-repeat="item in paperDifficultylist" value="{{item.num}}">{{item.name}}</option>
                                        </select>
                                        <span>题数:<input type="text" ng-model="QueListitem.Number_of_questions" class="xiaoge"
                                            style="width: 30px; margin-right: 0" />/<span title="总题目数量">{{QueListitem.quescount}}</span></span>
                                        <span style="margin-left: 5px;">单题分数:<input type="text" ng-model="QueListitem.Score_per_question"
                                            class="xiaoge" style="width: 30px"></span> <span ng-click="delQuelist(QueListitem)"
                                                class="iconfont">&#xe606;</span> </li>
                                    <li>
                                        <div class="knowledge_structure_add_jdszl">
                                            <label>
                                                <i class="iconfont">&#xe74f;</i>生成数量</label></div>
                                        <div>
                                            <label>
                                                <input type="radio" ng-value="2" checked="checked" ng-model="paperObj.repetitionRate"
                                                    name="selectrepetitionRate">2张
                                            </label>
                                            <label>
                                                <input type="radio" ng-value="4" ng-model="paperObj.repetitionRate" name="selectrepetitionRate">4张
                                            </label>
                                            <label>
                                                <input type="radio" ng-value="10" ng-model="paperObj.repetitionRate" name="selectrepetitionRate">10张
                                            </label>
                                            <label>
                                                <input type="radio" ng-value="20" ng-model="paperObj.repetitionRate" name="selectrepetitionRate">20张
                                            </label>
                                            <i class="iconfont" ng-mouseover="showMsg(1)" ng-mouseleave="hideMsg(1)" tooltips  tooltip-class="tooltip_class" tooltip-side="top" tooltip-template="重复率：<br />
                                                    每个学员打开试卷，可能出现的试卷重复几率。">&#xe66b;</i>
                                            <div class="tooltip fade top in" role="tooltip" style="top: -130px; left: 0px; width: 207px;"
                                                ng-show="showrepetitionRate" ng-if="false">
                                                <!--style里数据是算出来的-->
                                                <div class="tooltip-arrow" style="left: 77%">
                                                </div>
                                                <!--style里数据是算出来的-->
                                                <div class="tooltip-inner" style="text-align: left">
                                                    重复率：<br />
                                                    每个学员打开试卷，可能出现的试卷重复几率。
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                            <div class="knowledge_structure_add_column">
                                <ul class="knowledge_structure_add_columnejsdjs">
                                    <li>
                                        <div class="knowledge_structure_add_sxl">
                                            <label for="">
                                                <i class="iconfont">&#xe6f3;</i>试卷分类</label></div>
                                        <div style="width: 50%;">
                                            <input type="text" ng-model="paperObj.knowledge_Name"
                                                readonly="readonly" placeholder="请选择试卷所属的知识分类" class="xiaoge"  style="width: 90%;"></div>

                                                <div >
                                            <span  ng-click="knowConfigAdd.isShow=true"  style="float: right; color: #39f; cursor:pointer;">
                                                <svg class="icon">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                                                选择试卷分类</span></div>

                                    </li>
                                    <li>
                                        <div class="knowledge_structure_add_sxl">
                                            <label for="">
                                                <i class="iconfont">&#xe66d;</i>合格分数</label></div>
                                        <div>
                                            <input type="number" ng-model="paperObj.passGrade" min="0" max="99999"   value="0" class="xiaoge">分<span ng-show="totalScoreShow()">,总分：<span id="myzongfen" style="color: red; font-weight: bold;">{{paperObj.totalScore}} </span>
                                                分</span></div>
                                    </li>
                                    <li>
                                        <div class="knowledge_structure_add_sxl">
                                            <label for="">
                                                <i class="iconfont">&#xe777;</i>答题时间</label></div>
                                        <div>
                                            <input type="number" ng-model="paperObj.answerTime" min="0" max="99999" value="0" class="xiaoge">分钟</div>
                                    </li>
                                    <li>
                                        <div class="knowledge_structure_add_sxl">
                                            <label for="">
                                                <i class="iconfont">&#xe651;</i>考试机会</label></div>
                                        <div>
                                            <input type="number" placeholder="无限制" value="" min="0" max="99999" ng-model="paperObj.examCount" class="xiaoge">
                                            <i class="iconfont" ng-mouseover="showMsg(2)" ng-mouseleave="hideMsg(2)" tooltips  tooltip-class="tooltip_class" tooltip-side="top" tooltip-template="考试机会：</br> 
                                                为可以参加本张试卷的考试次数。</br>
                                                默认为0不限制，填1只能考一次试。</br>
                                                填2代表有两次考试机会。"  style="margin:0px;">&#xe66b;</i></div>
                                        <div class="tooltip fade top in" role="tooltip" style="top: -130px; left: 0px; width: 207px;"
                                            ng-show="showexamCount" ng-if="false">
                                            <!--style里数据是算出来的-->
                                            <div class="tooltip-arrow" style="left: 77%">
                                            </div>
                                            <!--style里数据是算出来的-->
                                            <div class="tooltip-inner" style="text-align: left">
                                                
                                            </div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="knowledge_structure_add_sxl" style="width: 25%;">
                                            <label for="">
                                                <i class="iconfont">&#xe600;</i>可切出窗口次数</label></div>
                                        <div>
                                            <input type="number"  min="0" placeholder="切出窗口次数"  ng-model="paperObj.cutOutTimes" class="xiaoge">
                                        </div>

                                    </li>
                                    <li>
                                        <div class="knowledge_structure_add_sxl" style="width: 25%;">
                                            <label for="">
                                                <i class="iconfont">&#xe658;</i>及格可获得积分</label></div>
                                        <div>
                                            <input type="number"  min="0" placeholder="积分"  ng-model="paperObj.integral" class="xiaoge">
                                            <i class="iconfont" tooltips  tooltip-template="当学员考核通过，可获得对应的积分" ></i></div>

                                    </li>
                                    <li>
                                    <div class="knowledge_structure_add_column" style="border:0;">
							                        <div class="knowledge_structure_add_fzr" style="padding:0;">
	                                                    <div class="knowledge_structure_add_fzrtitle"><i class="iconfont"></i>负责人：</div>
		                                                    <div class="knowledge_structure_add_fzrmain">
			                                                    <ul>
                                                                <li ng-repeat="user in personDataUser.UserList" style="float: left;padding: 0;"> 
                                                                        <img ng-src="{{user.user_Img}}" src="/images/avatar.png" onerror="javascript:this.src='/images/avatar.png'" class="personnelIMname img" style="height:36px;width:36px;border-radius:50%;margin-right:10px;margin-bottom:5px;"/>
                                                                </li>
				                                                <li ng-click="showPersonSelect($event)"  tooltips tooltip-side="right"  tooltip-template="负责人可在列表中看见当前试卷，负责人设置为学员无效！"><div  class="checkboxsxtjtj">+</div></li>
	 		                                                    </ul>
	                                                    </div>
                                                    </div>
						                        </div>
                                                 <selectormodal  ng-if="personDataUser.ApiOpen" apidata="personDataUser" ></selectormodal>
                                  </li>
                                  <li>
                                        <div class="knowledge_structure_add_sxl">
                                            <label for="">
                                                是否允许错题回顾
                                            </label>
                                        </div>
                                        <div>
                                         <div>
                                            <div class="toggle blue"style="position:relative;float:left;top:3px;">
                                                <input class="notificationHandler check checked" 
                                                ng-class="{checked:paperObj.huiguFlag=='1'}" ng-click="updateHG(paperObj)" type="button">
                                                <div class="switch">
                                                </div>
                                                <div class="track">
                                                </div>
                                            </div>
                                            <i class="iconfont" tooltips  tooltip-class="tooltip_class" tooltip-side="top" tooltip-template="关闭后，学员在考完本张试卷后，不能查看每题是否答对，也不能查看本次考试的成绩！" style="margin:0px;">&#xe66b;</i></div>
                                    </li>
                                    <li ng-if="paperObj.paperId!=null&&paperObj.paperId!=''&&paperObj.paperId!=undefined">
                                        <div class="knowledge_structure_add_sxl">
                                            <label for="">
                                                <i class="iconfont">&#xe782;</i>重新生成试卷
                                            </label>
                                        </div>
                                        <div>
                                         <div>
                                            <div class="toggle blue"style="position:relative;float:left;top:3px;">
                                                <input class="notificationHandler check checked" 
                                                ng-class="{checked:sendFlag}" ng-click="AutoNotification()" data-type="newpost.email" type="button">
                                                <div class="switch">
                                                </div>
                                                <div class="track">
                                                </div>
                                            </div>
                                            <i class="iconfont" ng-mouseover="showMsg(2)" ng-mouseleave="hideMsg(2)" tooltips  tooltip-class="tooltip_class" tooltip-side="top" tooltip-template="重新生成试卷：</br> 如果您修改了试卷的属性</br> 建议您开启自动生成试卷的功能</br> 不然有可能试卷内容不是最新的" style="margin:0px;">&#xe66b;</i></div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <knowledge-selector know-config="knowConfig" ng-if="knowConfig.isShow" on-callback="onCallback()"></knowledge-selector>
                    <knowledge-selector know-config="knowConfigAdd" ng-if="knowConfigAdd.isShow" on-callback="onCallbackSerAdd()"></knowledge-selector>
                    <knowledge-selector know-config="knowConfigQue" ng-if="knowConfigQue.isShow" on-callback="onCallbackSerQue()"></knowledge-selector>
                    <selectormodal ng-if="personData.ApiOpen" apidata="personData"></selectormodal>                   
                    <div class="knowledge_structure_add_footer" style="    position: relative;">
                        <button class="btn" ng-click="btnSave()" style=" z-index:999; bottom:10px;" ng-if="!showSaveButton">保存</button>
                        <div  ng-if="showSaveButton" style="padding: 10px 20px;width: 100%;color: red;text-align: right;">试卷已有学员考核，不可编辑</div>
                    </div>
                </div>
            </div>
        </div>
    </div>    
      <!--试题选择-->
                    <knowledge-selector know-config="knowConfigQuestions" ng-if="knowConfigQuestions.isShow" on-callback="onCallbackCheckQuestions()"></knowledge-selector>
                    <!--修改题目分数弹框-->
                    <div class="knowledgebase_xinjian_body" ng-if="setQuestionsScoreShow">                    
                            <div class="knowledgebase_selection_tool exam_set_questions_score" style="width:400px;top:20%">
                                <header style="border:1px solid #ccc">                                       
				                        <ul>
				                            <li>                                    
                                                设置题目分数
                                            </li>
				                        </ul>				                        
                                        <div class="close" ng-click="closeQuestionsScore()" style="top:8px;">
                                            <span>+</span>
                                        </div>
		                        </header>                              
                                    <section class="knowledge_kecheng_section" style="border:1px solid #ccc">   
                                    <div class="knowledgebase_selection_tool_main" style="color:#000;">
                	                    <div class="knowledgebase_selection_tool_main_check">
                                        <!--// 筛选 1 单选 2 多选 3 判断 4 问答 5 填空 6 B型题 7 综合题-->
                                            <div><span style="padding-left: 10px;">设置及格分数：</span><span ng-bind="knowConfigQuestions.paperObj.passGrade+'分'" style="padding:0px 5px;">30分</span>
                                            <span>当前选中总分：</span><span ng-bind="knowConfigQuestions.countScore +'分'" style="padding:0px 5px;">100分</span></div>
                                            <div ng-repeat="quesItem in questionsScoreList" ng-if="quesItem.num > 0">
                                                <div ng-if="quesItem.type != 6 && quesItem.type != 7">  <span style="margin: 2px 10px;" ng-bind="quesItem.name">单选题</span><input type="text"  ng-model="quesItem.score"/>分 共{{quesItem.num}}题 共{{quesItem.score * quesItem.num}}分</div>
                                                <div ng-if="quesItem.type == 6 || quesItem.type == 7">  <span style="margin: 2px 10px;" ng-bind="quesItem.name">单选题</span><input type="text"  ng-model="quesItem.score"/>分 共{{quesItem.num}}题 共 {{quesItem.cnum}} 小题  共{{quesItem.score * quesItem.cnum}}分</div>                                      
                                            </div>                                                                   
                                        </div>                                    
                                        <div class="renyuanmaore" style="height:60px">
                                            <div class="exam_que_btn" style="color:#000" ng-click="closeQuestionsScore()" >取消</div>
                                            <div class="exam_que_btn"  style=" background:#39f; color:#fff;" ng-if="isBtnQuestionsLoading">
                                                <btnloading isbtnload="isBtnQuestionsLoading" style="padding-right: 6px;margin-top: 2px;"></btnloading>
                                            </div>                   
                                            <div class="exam_que_btn" style=" background:#39f; color:#fff;" ng-click="saveQuestionsScore()" ng-if="!isBtnQuestionsLoading">确定</div>
                                        </div>
                                    </div>
                                    </section>                                          
                            </div>                                                                                  
                    </div>
    <!--iframe -->
    <div ng-show="iframeShow" style="background: #999; position: fixed; top: 0; left: 0;
        width: 100%; height: 100%; z-index: 999;">
        <div class="title" style="color: #fff; font-size: 24px; margin: 3px;">
            试卷题目导入
        </div>
        <div class="close" id="close" ng-click="closeuser()" style="color: #fff; font-size: 42px;
            margin: 8px;">
            <span>+</span></div>
        <iframe ng-style="modalStyle" id="main" name="mainname" ng-src="{{someUrl}}" frameborder="0">
        </iframe>
    </div>

    <input type="hidden" id="itemobj" value="">
    <!---删除弹框-->
    <knowledge-delete-box del-data-list="deleteList" ng-if="deleteHide"  is-hide="cancelHide()" del-all="Del($scope.delitem,2)" ids="delpaperId.paper_id" type="2"></knowledge-delete-box>
    <!--详细报表-->
    <examdetail isdata="detailobj" ng-if="showdetail" on-Show="showWinForm()"></examdetail>
</div>
